﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DAL
{
    public class SearchDAO:DAOBASE
    {
        public String TaoWhere(DataTable[] ds)
        {
            return AutoGenClauseCondition(ds);
        }
        public DataTable SelectALL(String sql)
        {
            try
            {
                return ExcuteQuery(sql);
            }
            catch { return null; }
        }
        public DataTable SelectOne(String sql)
        {
            try {
                return ExcuteQuery(sql);
            }
            catch { return null; }
        }
    }
}
